{{about|the mob|the food item|Pufferfish (item)|the mob in ''Minecraft Dungeons''|MCD:Pufferfish}}
{{Entity
| title = Pufferfish
| image = <gallery>
Pufferfish small.gif|Small
Pufferfish medium.gif|Medium
Pufferfish large.gif|Large
Pufferfish BE.gif|Small (BE)
Pufferfish medium BE.png|Medium (BE)
Pufferfish large.png|Large (BE)
</gallery>
| health = {{hp|3}}
| behavior = Passive <small>(Defensive)</small>
| classification = [[Animal]]<br>[[Aquatic]]
| damage = '''{{IN|Java}}:'''<br>'''Semi-puffed Pufferfish:'''<br>Easy: {{hp|2}}<br>Normal: {{hp|2}}<br>Hard: {{hp|3}}<br>{{EffectLink|Poison}} for 3 sec, total {{hp|2|poisoned=1}}<br>'''Fully Puffed Pufferfish:'''<br>Easy: {{hp|2.5}}<br>Normal: {{hp|3}}<br>Hard: {{hp|4.5}}<br>{{EffectLink|Poison}} for 6 sec, total {{hp|4|poisoned=1}}<br>'''{{IN|Bedrock}}:'''<br>'''Fully Puffed Pufferfish:'''<br>Easy: {{hp|2}}<br>Normal: {{hp|2}}<br>Hard: {{hp|3}}<br>{{EffectLink|Poison}} for 10 sec, total {{hp|7|poisoned=1}}
| size = '''{{IN|Java}}:'''<br>'''Unpuffed Pufferfish:'''<br>Height: 0.35 Blocks<br>Width: 0.35 Blocks<br>'''Semi-puffed Pufferfish:'''<br>Height: 0.49 Blocks<br>Width: 0.49 Blocks<br>'''Fully Puffed Pufferfish:'''<br>Height: 0.7 Blocks<br>Width: 0.7 Blocks<br>
'''{{IN|Bedrock}}:'''<br>
Height: 0.96 Blocks<br>Width: 0.96 Blocks
| spawn = {{BiomeLink|Lukewarm Ocean}} <br> {{BiomeLink|Deep Lukewarm Ocean}} <br> {{BiomeLink|Warm Ocean}}
| usableitems = {{drop|Item|Water Bucket}}
{{drop|Item|Bucket}}{{only|bedrock}}
}}
<!-- Please don't change "Passive" to "Neutral" or "Hostile". The pufferfish attack is technically a defense, so it is passive.-->

'''Pufferfish''' are [[Bucket of aquatic mob|bucketable]] aquatic [[mob]]s found in [[ocean]]s. Although they never seek out mobs to attack, they will defensively inflate themselves when approached too closely by [[Player|players]], [[Axolotl|axolotls]] or non-aquatic mobs, dealing damage and inflicting [[Poison]] on them.

== Spawning ==

{{IN|java}}, pufferfish spawn in groups of 1-3 in warm, lukewarm, and deep lukewarm ocean biomes, subject to [[Fish#Spawning|fish spawning requirements]]. If trying to spawn inside a waterlogged solid block, the pufferfish uses the bigger "puffed" size to determine if it collides with anything solid.

{{IN|bedrock}}, fish spawn underwater at around 12–32 blocks away from the player in groups of 3–5 in [[warm ocean]] biomes, and only on the surface; that is, there must not be a spawnable block above the spawn location with a non-solid block on top. They are considerably rarer than tropical fish, with only {{frac|1|5}} of fish groups or {{frac|2|9}} individual fish (within the warm ocean biome) spawning as pufferfish.

== Drops ==

Pufferfish drop 1 of their item form when killed: 

* 1 {{ItemLink|link=pufferfish (item)|pufferfish}}, unaffected by [[Looting]].<ref>{{bug|MC-212795||Salmon & Fish mobs are not affected by Looting}}</ref>
* 1 {{ItemLink|bone meal}} (5% chance){{only|java}}
*1-2 {{ItemLink|bone}}s (25% chance){{only|bedrock}}
* {{xp|1|3}} when killed by a [[player]] or a tamed [[wolf]].

== Behavior ==

Pufferfish inflate themselves when approached by the player, most mobs,{{only|java|short=1}} and [[armor stand]]s.<ref>{{bug|MC-132239|||WAI}}</ref><ref>{{bug|MCPE-35807|||WAI}}</ref>

The player may collect a fish by {{control|using}} a [[water bucket]] on it, giving the player a [[Bucket of aquatic mob|bucket of pufferfish]]. Fish placed with buckets do not despawn naturally. When that fish bucket is {{control|used}} against a block, it empties the bucket, placing water with that fish swimming in it. An empty bucket may be used as well.{{only|bedrock}}

Unlike other [[fish]], pufferfish don't swim in schools.

=== Weaknesses ===

Like other fish, pufferfish cannot survive out of water. Outside of water, they flop around like [[guardian]]s for a while until they start suffocating, and then die like [[squid]]. {{IN|bedrock}} they rotate when flopping. Fish cannot swim or breathe in cauldron water.<ref>{{bug|MC-126819||fish bouncing and suffocating on top of the cauldron which fills with water|WF}}</ref>

All fish are vulnerable to weapons that have the [[Impaling]] enchantment, which also affects [[squid]], [[turtle]]s, guardians, [[elder guardian]]s, and [[dolphin]]s.

=== Defenses ===

A pufferfish inflates when approached by a player in [[Survival]] or [[Adventure]] mode, a [[drowned]], an [[axolotl]], or any non-water mob within a 5×5×5 volume around the fish, going from unpuffed, then semi-puffed, to fully puffed. Pufferfish are technically passive mobs but going near one when semi-puffed or fully puffed inflicts the player/mob with three or six seconds of {{EffectLink|Poison}} based on the inflation level, and touching one in its puffed or semi-puffed form deals damage separate from the Poison. 

Pufferfish also instantly inflate to their fullest form after taking any kind of damage.{{only|bedrock}} After inflating, they slowly deflate to their normal shape as long as a threat is out of range. If the player/mob leaves the radius while the pufferfish is in its semi-puffed stage, it deflates back to normal.  

[[Undead]] mobs are unaffected by the Poison effect, but still, take damage when they come into contact with pufferfish.

A pufferfish inflicting damage to a mob other than creeper and ghast via touching provokes that mob to retaliate.

In Peaceful difficulty, pufferfish do not inflict damage or Poison to player.{{Only|java}}

== Sounds ==
{{Edition|Java}}:<br>
Pufferfish use the Friendly Creatures sound category for entity-dependent sound events.
{{Sound table
|sound=-
|subtitle=''None''
|source=neutral
|description=Randomly
|id=entity.puffer_fish.ambient
|translationkey=''None''
|volume=1.0
|pitch=0.8-1.2
|distance=16}}
{{Sound table
|sound=Pufferfish sting1.ogg
|sound2=Pufferfish sting2.ogg
|subtitle=Pufferfish stings
|source=neutral
|description=When a pufferfish attacks something
|id=entity.puffer_fish.sting
|translationkey=subtitles.entity.puffer_fish.sting
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Pufferfish blow out1.ogg
|sound2=Pufferfish blow out2.ogg
|subtitle=Pufferfish deflates
|source=neutral
|description=When a pufferfish deflates
|id=entity.puffer_fish.blow_out
|translationkey=subtitles.entity.puffer_fish.blow_out
|volume=0.7
|pitch=0.8-1.2
|distance=16}}
{{Sound table
|sound=Pufferfish blow up1.ogg
|sound2=Pufferfish blow up2.ogg
|subtitle=Pufferfish inflates
|source=neutral
|description=When a pufferfish is threatened and inflates
|id=entity.puffer_fish.blow_up
|translationkey=subtitles.entity.puffer_fish.blow_up
|volume=0.45
|pitch=0.8-1.2
|distance=16}}
{{Sound table
|sound=Pufferfish death1.ogg
|sound2=Pufferfish death2.ogg
|subtitle=Pufferfish dies
|source=neutral
|description=When a pufferfish dies
|id=entity.puffer_fish.death
|translationkey=subtitles.entity.puffer_fish.death
|volume=1.0
|pitch=0.8-1.2
|distance=16}}
{{Sound table
|sound=Pufferfish hurt1.ogg
|sound2=Pufferfish hurt2.ogg
|subtitle=Pufferfish hurts
|source=neutral
|description=When a pufferfish is damaged
|id=entity.puffer_fish.hurt
|translationkey=subtitles.entity.puffer_fish.hurt
|volume=1.0
|pitch=0.8-1.2
|distance=16}}
{{Sound table
|sound=Pufferfish flop1.ogg
|sound2=Pufferfish flop2.ogg
|sound3=Pufferfish flop3.ogg
|sound4=Pufferfish flop4.ogg
|subtitle=Pufferfish flops
|source=neutral
|description=While a pufferfish is on land
|id=entity.puffer_fish.flop
|translationkey=subtitles.entity.puffer_fish.flop
|volume=0.3
|pitch=0.8-1.2
|distance=16}}
{{Sound table
|sound=Fish swim1.ogg
|sound2=Fish swim2.ogg
|sound3=Fish swim3.ogg
|sound4=Fish swim4.ogg
|sound5=Fish swim5.ogg
|sound6=Fish swim6.ogg
|sound7=Fish swim7.ogg
|subtitle=MC-200508
|source=neutral
|description=While a pufferfish is swimming
|id=entity.fish.swim
|translationkey=-
|volume=0.0-1.0 <ref group=sound name=speedvolume>The fish's momentum, with the horizontal axes' velocities multiplied by 0.2 (capped at 1.0)</ref>
|pitch=0.6-1.4
|distance=16
|foot=1}}

{{Edition|Bedrock}}:
{{Sound table
|type=bedrock
|rowspan=2
|sound=Fish hurt1.ogg
|sound2=Fish hurt2.ogg
|sound3=Fish hurt3.ogg
|sound4=Fish hurt4.ogg
|source=neutral
|description=When a pufferfish dies
|id=mob.fish.hurt
|volume=1.0
|pitch=0.8-1.2}}
{{Sound table
|source=neutral
|description=When a pufferfish is damaged
|id=mob.fish.hurt
|volume=1.0
|pitch=0.8-1.2}}
{{Sound table
|sound=Fish flop1.ogg
|sound2=Fish flop2.ogg
|sound3=Fish flop3.ogg
|sound4=Fish flop4.ogg
|source=neutral
|description=While a pufferfish is on land
|id=mob.fish.flop
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Fish swim1.ogg
|sound2=Fish swim2.ogg
|sound3=Fish swim3.ogg
|sound4=Fish swim4.ogg
|sound5=Fish swim5.ogg
|sound6=Fish swim6.ogg
|sound7=Fish swim7.ogg
|source=neutral
|description=While a pufferfish is swimming
|id=mob.fish.step
|volume=0.15
|pitch=1.0
|foot=1}}

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|showentitytags=y
|generatetranslationkeys=java
|displayname=Pufferfish
|spritetype=entity
|nameid=pufferfish
|entitytags=axolotl_always_hostiles
|foot=1}}

{{edition|bedrock}}:
{{ID table
|shownumericids=y
|generatetranslationkeys=bedrock
|displayname=Pufferfish
|spritetype=entity
|nameid=pufferfish
|id=108
|foot=1}}

=== Entity data ===

Pufferfish have entity data associated with them that contains various properties.

{{el|java}}:
{{main|Entity format}}
{{/ED}}

{{el|bedrock}}:
: See [[Bedrock Edition level format/Entity format]].

== Achievements ==
{{load achievements|I am a Marine Biologist}}

== Advancements ==
{{load advancements|Tactical Fishing;It Spreads}}

== History ==
{{needs render|1.16-pre3 pufferfish changes - document old appearances in history|section=12}}
{{History|java alpha}}
{{History||June 28, 2010|link=wordofnotch:746938105|[[Notch]] mentioned that [[fish]] might be a feature of [[coral]], if he were able to add coral: "... I do know that the corals will have tiny fish particles around them."}}
{{History||October 4, 2010|link=wordofnotch:1243370641|Fish were a passive [[mob]] that [[Notch]] showed interest in adding. In the promotional graphic for the [[Halloween Update]], Notch indicated he would add fish. However, they were added only as an [[item]]; there was no code for a fish mob.}}
{{History|java}}
{{History||October 5, 2012|link={{tweet|Dinnerbone|253954758489038848}}|[[Fish]] were jokingly teased in the fake snapshot [[12marc40awesome]], along with [[coral]] and "fish blocks".}}
{{History||April 13, 2013|link={{reddit|s7ri6/i_am_jon_k%C3%A5gstr%C3%B6m_developer_of_minecraft_ask_me|c4bs6d1|context=3}}|When [[Jon Kågström]] was asked in his AMA on [[wikipedia:Reddit|Reddit]], "What [[mob]] would you like to implement into the game?" He responded, "I would like to add birds, fish and tree animals to make it more alive. However this will take some time before it can be done."}}
{{History||July 31, 2013|link={{reddit|xfzdg/i_am_markus_persson_aka_notch_creator_of}}|During [[Notch]]'s AMA on [[wikipedia:Reddit|Reddit]], when asked about what happened to his plans of adding fish as a [[mob]], he responded, "Oh yeah, the fish!"}}
{{History||1.13|snap=18w08b|[[File:Pufferfish small.gif|32px]] [[File:Pufferfish medium.gif|32px]] [[File:Pufferfish large.gif|32px]] Added "puffer fish". 
|Puffer fish have {{hp|20}} [[health]].}}
{{History|||snap=18w10a|The health of pufferfish has been changed to {{hp|3}}.<ref>{{bug|MC-126091||Pufferfish have 20 health|Fixed}}</ref>}}
{{History|||snap=18w19a|"Puffer Fish" has been corrected to "Pufferfish".<ref>{{bug|MC-124190||Some display names don't follow the id|Invalid}}</ref>}}
{{History||1.13.1|snap=18w31a|Pufferfish now have a 5% chance of dropping [[bone meal]] when killed.}}
{{History||1.18|snap=21w40a|Pufferfish now only spawn between y{{=}}50 and y{{=}}63.}}

{{History|bedrock}}
{{History||1.4.0|snap=beta 1.2.14.2|[[File:Pufferfish BE.gif|32px]] [[File:Pufferfish medium BE.png|32px]] [[File:Pufferfish large.png|32px]] Added pufferfish [[mob]]s.}}
{{History||1.13.0|snap=beta 1.13.0.9|Pufferfish now drop [[experience]] when killed.}}
{{History||1.16.0|snap=beta 1.15.0.51|Pufferfish now semi-puff when the [[player]] draws near, and fully puff when the player is up against it.}}
{{History||1.18.0|snap=beta 1.18.0.21|Pufferfish now only spawn between y{{=}}50 and y{{=}}64.}}
{{History||1.19.10|snap=beta 1.19.10.23|The health of pufferfish has been changed to {{hp|3}}.}}

{{History|console}}
{{History||xbox=TU69|ps=1.76|wiiu=Patch 38|[[File:Pufferfish BE.gif|32px]] [[File:Pufferfish medium.png|32px]] [[File:Pufferfish large.png|32px]] Added pufferfish [[mob]]s.}}

{{History|education}}
{{History||1.4.0|[[File:Pufferfish BE.gif|32px]] [[File:Pufferfish medium BE.png|32px]] [[File:Pufferfish large.png|32px]] Added pufferfish [[mob]]s.}}
{{History|foot}}

== Issues ==
{{issue list|Pufferfish}}

== Trivia ==
* In real life, pufferfish use their spikes for intimidation purposes and not to inject venom. Their flesh is toxic, which is [[Pufferfish (item)|reflected accurately]] in-game.
* Pufferfish's damage and Poison time are directly related to its current {{cd|PuffState}} data value, which can be changed using the {{cmd|data}} command.
* There are three textures for the three different {{cd|PuffState}} data values in ''Minecraft''. A {{cd|PuffState}} value greater than 2 does not visually increase the pufferfish size, but does create a bigger shadow on the ground. All sizes of pufferfish textures are contained in the same texture file.

== Gallery ==
<gallery>
File:Pufferfish mob.png|A fully inflated pufferfish, with six deflated pufferfish and a school of cod behind it.
File:Pufferfish Death.jpg|Dying pufferfish mob {{in|be}}.
File:Pufferfish Death.png|Dying pufferfish mob {{in|je}}.
File:Deflated Pufferfish.png|An up-close screenshot of a completely deflated pufferfish.
File:Hurt by pufferfish.png|A player is hurting by pufferfish.
File:Coral reef at night.png|An ocean with some fish visible.
File:Land Fish.png|A cod and pufferfish taking damage because they are not in [[water]].
</gallery>

=== In other media ===
<gallery>
File:Update Aquatic.jpg|Pufferfish in promotional artwork for the [[Update Aquatic]].
File:Pufferfish trailer.jpg|Several pufferfish as they appear in the [[Trails & Tales]] trailer.
File:Pufferfish Artwork.png|Official pufferfish artwork.
File:LEGO Pufferfish.png|[[Lego Minecraft]] pufferfish.
</gallery>

=== Textures ===
<gallery>
File:Pufferfish (texture).png
</gallery>

== See also ==
* {{EntityLink|Cod}}
* {{EntityLink|Salmon}}
* {{EntityLink|Tropical Fish}}

== References ==
{{Reflist}}

{{Entities}}

[[Category:Passive mobs]]
[[Category:Aquatic mobs]]
[[Category:Animal mobs]]

[[de:Kugelfisch]]
[[es:Pez globo]]
[[fr:Poisson (créature)]]
[[ja:フグ]]
[[ko:복어]]
[[hu:Hal]]
[[nl:Vis (wezen)]]
[[pl:Ryba (mob)]]
[[pt:Baiacu]]
[[ru:Иглобрюх]]
[[th:Fish (mob)]]
[[uk:Скелезуб]]
[[zh:河豚]]
